/* 导航栏样式 */
.nav {
    background-color: #004987;
    height: 50px;
}

.nav ul {
    list-style-type: none;
}

.nav ul li {
    float: left;
    height: 50px;
    width: 150px;
}

.nav ul li a {
    display: block;
    color: #FFFFFF;
    text-align: center;
    vertical-align: center;
    text-decoration: none;
    padding: 15px;
    height: 100%;
    width: 100%;
}

.nav ul li a:hover:not(.active) {
    background-color: #BA8940;
}

/* 首页内容区 */
.content {
    color: #004987;
}

.content b {
    font-size: 22px;
    padding-bottom: 2px;
    border-bottom: 2px solid #004987;
}

.content a {
    font-size: 14px;
    padding-top: 6px;
    text-decoration: none;
    color: #004987;
}

/* 首页图区 */
.index-img img {
    width: 100%;
}

/* 新闻动态和证书查询 */
.news-certificate {
    display: flex;
    justify-content: space-between;
}

.news-box {
    width: 790px;
    height: 100%;
}

.news-box-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #D4D4D4;
}

.news-box-title h3 {
    font-size: 22px;
    border-bottom: 2px solid #004987;
}

.news-box-title a {
    font-size: 14px;
    padding-right: 5px;
    font-weight: bold;
}

.news-pic-content {
    margin-top: 20px;
    width: 100%;
    height: 230px;
    display: flex;
    justify-content: space-between;
}

.news-pic {
    width: 370px;
    height: 100%;
    position: relative;
}

.news-pic-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 1.5s;
}

.news-pic-img:nth-child(1) {
    opacity: 1;
}

.news-pic-img img {
    width: 370px;
    height: 230px;
}

.news-pic-img p {
    position: absolute;
    bottom: 5px;
    left: 0;
    display: inline-block;
    width: 370px;
    background-color: #00000099;
    color: white;
    padding-left: 5px;
    font-size: 14px;
}

.news-pic-dot {
    position: absolute;
    bottom: 5px;
    right: 10px;
}

.news-pic-dot ul li {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #FFFFFF;
    float: left;
    margin-right: 5px;
}

.news-pic-dot ul li:nth-child(1) {
    background-color: #004987;
}

.news-content {
    width: 373px;
    height: 100%;
}

.news-content li a {
    display: block;
    color: #000000;
    height: 37px;
    max-width: 25em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.news-content li {
    border-bottom: 1px dashed #D4D4D4;
}

.certificate-box {
    width: 365px;
    height: 100%;
}

.certificate-box-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #D4D4D4;
}

.certificate-box-title h3 {
    font-size: 22px;
    border-bottom: 2px solid #004987;
}

.certificate-box-title a {
    font-size: 14px;
    padding-right: 5px;
    font-weight: bold;
}

.certificate-content {
    margin-top: 30px;
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.index-content {
    margin-top: 60px;
    height: 400px;
    display: flex;
    justify-content: space-between;
}

.index-content-box {
    width: 380px;
    height: 390px;
}

.index-content-box-title {
    width: 100%;
    height: 35px;
    color: #004987;
    display: flex;
    justify-content: space-between;
    align-content: flex-end;
    border-bottom: 2px solid #D4D4D4;
}

.index-content-box-title h3 {
    font-size: 22px;
    border-bottom: 2px solid #004987;
}

.index-content-box-title a {
    font-size: 14px;
    padding-right: 5px;
    font-weight: bold;
}

.index-content-box-content {
    margin-top: 30px;
}

.index-content-box-content li a {
    display: block;
    color: #000000;
    height: 37px;
    max-width: 25em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.index-content-box-content li {
    border-bottom: 1px dashed #D4D4D4;
}

.index-pic {
    height: 122px;
    display: flex;
    justify-content: space-between;
}

.index-pic img {
    width: 288px;
    height: 122px;
}

.policy-job {
    height: 420px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.policy-job-box {
    width: 585px;
    background-color: #FFFFFF;
}

.policy-job-box-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #D4D4D4;
}

.policy-job-box-title h3 {
    font-size: 22px;
    border-bottom: 2px solid #004987;
}

.policy-job-box-title a {
    font-size: 14px;
    padding-right: 5px;
    font-weight: bold;
}

.policy-job-box-content {
    margin-top: 30px;
}

.policy-job-box-content li a {
    display: block;
    color: #000000;
    height: 37px;
    max-width: 25em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.policy-job-box-content li {
    border-bottom: 1px dashed #D4D4D4;
}

.link {
    height: 110px;
}

.link h3 {
    float: left;
    font-size: 22px;
    color: #004987;
}

.link ul li {
    float: left;
    margin-left: 50px;
    padding-top: 8px;
}

.link ul li a {
    color: #000000;
}

/* 底部样式 */
.footer {
    height: 100px;
    background-color: #004887;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer ul li {
    float: left;
    color: #FFFFFF;
    margin-right: 20px;
}

.footer ul li a {
    color: #FFFFFF;
}